package com.itany.hotel.service;

import com.itany.hotel.entity.Member;
import com.itany.hotel.exception.DuplicateUsernameException;
import com.itany.hotel.exception.UserNotFoundException;

public interface MemberService {

    public void regist(Member member)throws DuplicateUsernameException;


    public Member login(String username,String password)throws UserNotFoundException;


}
